import * as LifeService from "../services/CommonHttpService";

export default  {
  SERVER: '118.31.1.101',
  // SERVER: 'localhost',
  SERVER_PORT: 8098,
  get baseUrl() {
    return `${this.USE_HTTPS ? 'https' : 'http'}://${this.SERVER}:${this.SERVER_PORT}/`;
  },

  DEVICE_SERVER_PORT: 8086,
  get deviceUrl() {
    return `${this.USE_HTTPS ? 'https' : 'http'}://${this.SERVER}:${this.DEVICE_SERVER_PORT}/`;
  },

  DATA_SERVER_PORT: 8086,
  get dataUrl() {
    return `${this.USE_HTTPS ? 'https' : 'http'}://${this.SERVER}:${this.DATA_SERVER_PORT}/`;
  },
};
